package pers.cj.pdos.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
import java.math.BigDecimal;

public class RefundAnalysis extends Model<RefundAnalysis> {
    private static final long serialVersionUID = 1L;

    private String id;
    private String date;
    private String no;
    private String name;
    private String norms;
    private String unitName;
    private String customName;
    private String type;
    private BigDecimal number;
    private BigDecimal amount;
    private BigDecimal avgAmount;
    private BigDecimal tax;
    private BigDecimal ratio;//占比
    private String userId;

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserId() {
        return userId;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getDate() {
        return date;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setNorms(String norms) {
        this.norms = norms;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public void setCustomName(String customName) {
        this.customName = customName;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setNumber(BigDecimal number) {
        this.number = number;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public void setAvgAmount(BigDecimal avgAmount) {
        this.avgAmount = avgAmount;
    }

    public void setTax(BigDecimal tax) {
        this.tax = tax;
    }

    public void setRatio(BigDecimal ratio) {
        this.ratio = ratio;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getNo() {
        return no;
    }

    public String getName() {
        return name;
    }

    public String getNorms() {
        return norms;
    }

    public String getUnitName() {
        return unitName;
    }

    public String getCustomName() {
        return customName;
    }

    public String getType() {
        return type;
    }

    public BigDecimal getNumber() {
        return number;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public BigDecimal getAvgAmount() {
        return avgAmount;
    }

    public BigDecimal getTax() {
        return tax;
    }

    public BigDecimal getRatio() {
        return ratio;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
